import { createApp } from 'vue'
// __________________________ CSS __________________________
import '@css/public.css'
import './style/page.less'
// # Eelement UI
// import './element-variables.scss'
// import '@assets/theme/element-plus-29C866/index.css'
// __________________________ js __________________________
import '@com/global'
import router from './router'
// __________________________ 入口 __________________________
import App from './App.vue'
// __________________________ 启动 __________________________
const app = window.app = createApp(App)
window.router = router
const init = async () => {
	// $fn.sessionClear()		// 刷新一次就清除缓存
	await $.getMenu()
	app.use(router)
	app.mount('#app-root')
}
init()
app.config.productionTip = false
// __________________________ Eelement UI __________________________
// app.config.globalProperties.$ELEMENT = { size: 'small', zIndex: 3000 }
// __________________________ 关闭初始加载 __________________________
document.body.removeChild(document.querySelector('#app-loading'))
window.proxy = {}